package com.fs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author python_boy
 * @fileName WhDetailed
 * @date 2024/10/17 14:26
 * @description
 **/
@Data
@TableName("wh_detailed")
@NoArgsConstructor
@AllArgsConstructor
public class WhDetailed {
    @TableId(type = IdType.AUTO)
    private Integer detailedId;  //产品明细编号
    private Integer warehousingId;  //入库单编号
    private Integer outboundId;  //出库单编号
    private Integer variantProductId;  //产品编号
    private String productName;  //产品名称
    private Integer quantity;  //数量
    private Double unitPrice;  //单价
    private Double totalPrice;  //总价;

    public WhDetailed(Integer outboundId, Integer variantProductId, String productName, Integer quantity) {
        this.outboundId = outboundId;
        this.variantProductId = variantProductId;
        this.productName = productName;
        this.quantity = quantity;
    }
}
